package com.xc.hotelmgr.datahandlermt.service.mybatis.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xc.hotelmgr.datahandlermt.mapper.HtDailyroomMapper;
import com.xc.hotelmgr.datahandlermt.mapper.HtPhysicalRoomMapper;
import com.xc.hotelmgr.datahandlermt.pojo.mybatis.HtDailyroom;
import com.xc.hotelmgr.datahandlermt.pojo.mybatis.HtPhysicalRoom;
import com.xc.hotelmgr.datahandlermt.service.mybatis.HtPhysicalRoomService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class HtPhysicalRoomServiceImpl extends ServiceImpl<HtPhysicalRoomMapper, HtPhysicalRoom> implements HtPhysicalRoomService {

    @Autowired
    HtPhysicalRoomMapper htPhysicalRoomMapper;

    @Override
    public List<HtPhysicalRoom> listAll() {
        return null;
    }

    @Override
    public HtPhysicalRoom getById(Long id) {
        return null;
    }

    @Override
    public int insert(HtPhysicalRoom htPhysicalRoom) {
        return 0;
    }

    @Override
    public int insertIgnoreNull(HtPhysicalRoom htPhysicalRoom) {

        return htPhysicalRoomMapper.insertIgnoreNull(htPhysicalRoom);
    }

    @Override
    public int update(HtPhysicalRoom htPhysicalRoom) {
        return 0;
    }

    @Override
    public int updateIgnoreNull(HtPhysicalRoom htPhysicalRoom) {
        return 0;
    }

    @Override
    public int delete(HtPhysicalRoom htPhysicalRoom) {
        return 0;
    }
}
